package week07.midTest;

public class PlaneAdapter implements Plane {
    public Plane plane=null;

    public PlaneAdapter() {
        this.plane = new PlaneImpl() ;
    }

    @Override
    public void takeOff() {
        System.out.println("XX飞机即将起飞");
        plane.takeOff();
    }
}
